<?php

class language_m_core extends a_base_model_datamapper{
    public function __construct($id=null){
        $this->table = "languages";
        $this->has_many['text_m_product'] = array(
            'class' => 'text_m_product',
            'join_other_as' => 'text',
            'join_self_as' => 'language'
        );
        parent::__construct($id);
    }
}
?>
